package com.wash.shoes.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wash.shoes.domain.dto.ShopPageDto;
import com.wash.shoes.entity.ShopPo;

import java.util.List;

/**
 * <p>
 * 店铺系统的店铺 服务类
 * </p>
 *
 * @author zhengyunpeng
 * @since 2024-08-27
 */
public interface ShopService extends IService<ShopPo> {
    /**
     * 获取所有抖音启用店铺的poid
     *
     * @param brandId
     * @return
     */
    List<String> getAllDyPoidWithBrandId(String brandId);

    /**
     * @author lijianguo
     * @Date 27/08/2024 分页查询
     **/
    Page<ShopPo> pageList(ShopPageDto shopPo);

    /**
     * @author lijianguo
     * @Date 13/09/2024 shop
     **/
    ShopPo getShopByName(String shopName);

    /**
     * @author lijianguo
     * @Date 16/09/2024 查询店铺
     **/
    ShopPo getByOpBizCode(String opBizCode);

    /**
     * @author lijianguo
     * @Date 22/09/2024 getallshop
     **/
    List<ShopPo> getAllShop();

    /**
     * 门店
     *
     * @param provinces
     * @return
     */
    ShopPo getOneShopByProvinces(String provinces, String city, String channel, String brandId);

    /**
     * 根据poId获取shopId
     *
     * @param poId
     * @return
     */
    String getShopIdByPoId(String poId);

    /**
     * 根据shopId获取PoId
     *
     * @param shopId
     * @return
     */
    String getPoIdByShopId(String shopId);


    /**
     * 根据shopId查询店铺信息
     *
     * @return
     */
    List<ShopPo> getShopByShopIds();
}
